import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {GooTypeLevel1Component} from './goo-type-level1.component';

const routes: Routes = [
    {path: '', component: GooTypeLevel1Component,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-goo-type-level1/add-goo-type-level1.module#AddGooTypeLevel1Module'},
            {path: 'list', loadChildren: './list-goo-type-level1/list-goo-type-level1.module#ListGooTypeLevel1Module'},
            {path: 'modify', loadChildren: './modify-goo-type-level1/modify-goo-type-level1.module#ModifyGooTypeLevel1Module'},
            {path: 'report', loadChildren: './report-goo-type-level1/report-goo-type-level1.module#ReportGooTypeLevel1Module'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class GooTypeLevel1RoutingModule {
}
